Auto merge of #3621 - matklad:fix-job-leakage, r=alexcrichton
authorbors <bors@rust-lang.org>
Thu, 2 Feb 2017 06:04:56 +0000 (06:04 +0000)
committerbors <bors@rust-lang.org>
Thu, 2 Feb 2017 06:04:56 +0000 (06:04 +0000)
commit38f52ea846db202f322071f00b083ae8defdda3a
tree4ebf305cdf6f4c08eb6ef140809b4b220b899192
parentadaba363fae6eefcf251470533ed8382dce6cc58
parentef043577dc6d997e15ac54a9b5fe4be5d835f455
Auto merge of #3621 - matklad:fix-job-leakage, r=alexcrichton

Don't leak job

This fixes that problem with diverging `handle_error`. Now the return types of all subcommands match, and we can return `CliResult` up to main.
src/cargo/lib.rs